<template>
  <v-chart
    class="zkt-tx"
    ref="chartCom"
    :option="chartOptions"
    autoresize
  ></v-chart>
</template>
<script lang="ts" setup>
import VChart from "vue-echarts";
import { txProps } from "./prop";
import { use } from "./use";
const props = defineProps(txProps);
defineOptions({
  name: "zkt-tx",
});
const { chartOptions, chartCom } = use(props);
</script>
<style lang="scss">
.zkt-tx {
  height: 4rem;
  margin: 0.1rem 0;
}
</style>
